package com.szh.cloud.api.teacher.repository;

import com.szh.cloud.api.teacher.entity.SearTeacherEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApiTeacherDao {
    List<SearTeacherEntity> queryTeachers(SearTeacherEntity params);

    Long countTeachers(SearTeacherEntity params);

    SearTeacherEntity getTeacherById(@Param("tchrUuid") String tchrUuid);

    int insertTeacher(SearTeacherEntity teacher);

    int updateTeacher(SearTeacherEntity teacher);

    int deleteTeacher(@Param("tchrUuid") String tchrUuid);

    int batchDeleteTeachers(@Param("ids") List<String> ids);
}
